#ifndef GITTOOL_H
#define GITTOOL_H

#include <QWidget>
#include <QProcess>
#include <QFileDialog>
#include <QMessageBox>
#include <QDebug>
#include <QDateTime>
#include <QDesktopServices>
#include <QUrl>
#include "gitinit.h"

namespace Ui {
class GitTool;
}

class GitTool : public QWidget
{
    Q_OBJECT

public:
    explicit GitTool(QWidget *parent = nullptr);
    ~GitTool();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_6_clicked();

private:
    Ui::GitTool *ui;
    QProcess *process;
    QString directory;
    GitInit * gitInit;
    QString output;
    QString error;
    QString data;
    QString Url;
private:
    void Clone();
    void AddDate();
    void AddOutPut();
};

#endif // GITTOOL_H
